(function () {
    var $self;
    return $self = Ext.define('Aurora.view.AccountsViewList', {
        extend: 'Ext.dataview.List',
        xtype: 'accountsViewList',
        requires: ['Aurora.store.AccountsList'],
        config: {
            plugins: [{
                xclass: 'Ext.plugin.ListPaging',
                autoPaging: true
            }],
            itemTpl: '<div class="contact"><div><strong>{name}</strong></div><div><label>Email:<input value="{emailAddress}" readonly/></label></div><div>{id}</div></div>',
            store: {
                xtype: 'accountsList'
            },
            onItemDisclosure: true
        }
    });
})();
